<extend name="Public/base" />

<block name="body">
<div class="main-title">
	<h2>编辑题库</h2>
</div>
<form action="{:U()}" method="post" class="form-horizontal">
	<div class="form-item">
		<label class="item-label">名称<span class="check-tips">（题库名称）</span></label>
		<div class="controls">
			<input type="text" class="text input-large" name="name"
				value="{$iteminfo.name}">
		</div>
	</div>
	<div class="form-item">
		<label class="item-label">简介<span class="check-tips">（题库简介）</span></label>
		<div class="controls">
			<label class="textarea input-large"> <textarea name="summary">{$iteminfo.summary}</textarea>
			</label>
		</div>
	</div>

	<div class="form-item">
		<input type="hidden" name="id" value="{$iteminfo.id}">
		<button class="btn submit-btn ajax-post" id="submit" type="submit"
			target-form="form-horizontal">确 定</button>
		<button class="btn btn-return"
			onclick="javascript:history.back(-1);return false;">返 回</button>
	</div>
</form>
</block>

<block name="script"> <script type="text/javascript">
        //导航高亮
        $('.side-sub-menu').find('a[href="{:U('index')}"]').closest('li').addClass('current');
    </script> </block>
